package com.origin.src;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;

public class XConfigurationFather {

    @Bean
//    @Bean(name = {"XBeanB","xBeanB"})
//    @Bean("XBeanBF")
    public XConfiguration.XBeanB XBeanB() {
        return new XConfiguration.XBeanB("father");
    }

//    @Bean
//    @Bean(name = "XBeanB1")
    public XConfiguration.XBeanB XBeanB(BeanFactory beanFactory) {
        return new XConfiguration.XBeanB("father bean");
    }
}
